

minetest.register_craftitem("lunorecipes:egg_gold", {
	description = "Ovo Fertil",
	inventory_image = "obj_egg_gold.png",
})

minetest.register_alias("ovodourado", "lunorecipes:egg_gold")
minetest.register_alias("ovofertil", "lunorecipes:egg_gold")

--###############################################################################################################################

minetest.register_craftitem("lunorecipes:egg", {
	description = "Ovo",
	inventory_image = "obj_egg.png",
})

minetest.register_alias("ovo"			, "lunorecipes:egg")

--###############################################################################################################################

minetest.register_craftitem("lunorecipes:egg_fried", {
	description = "Ovo Frito (SP+2)",
	inventory_image = "egg_toasty.png",
	stack_max=16, --Acumula 16 por slot
	groups = { eat=1 },
	on_use = function(itemstack, user, pointed_thing)
		return lunorecipes.doEat(user, itemstack, 0, 4, "obj_chew")
	end,
})

minetest.register_craft({
	type = "cooking",
	output = "lunorecipes:egg_fried",
	recipe = "lunorecipes:egg",
	cooktime = 5,
})

minetest.register_alias("eggfried"			, "lunorecipes:egg_fried")
minetest.register_alias("ovofrito"			, "lunorecipes:egg_fried")
--###############################################################################################################################

minetest.register_craftitem("lunorecipes:egg_fried_salt", {
	description = "Ovo Frito Temperado (SP+3)",
	inventory_image = "egg_toasty_salt.png",
	stack_max=16, --Acumula 16 por slot
	groups = { eat=1 },
	on_use = function(itemstack, user, pointed_thing)
		return lunorecipes.doEat(user, itemstack, 0, 6, "obj_chew")
	end,
})


minetest.register_craft({
	output = "lunorecipes:egg_fried_salt",
	recipe = {
		{"lunorecipes:salt"},
		{"lunorecipes:egg_fried"},
	},
})

minetest.register_alias("eggfriedsalt"			, "lunorecipes:egg_fried_salt")
minetest.register_alias("eggfriedwithsalt"	, "lunorecipes:egg_fried_salt")
minetest.register_alias("ovofritosalgado"		, "lunorecipes:egg_fried_salt")
minetest.register_alias("ovofritocomsal"		, "lunorecipes:egg_fried_salt")
minetest.register_alias("ovofritotemperado"	, "lunorecipes:egg_fried_salt")


